'use strict';

goog.provide('Blockly.Msg.zh.hans');

goog.require('Blockly.Msg');

//new tags
Blockly.Msg.CONTROLS_REPEAT="循环";
Blockly.Msg.CONTROLS_REPEAT_STEP="次数";
Blockly.Msg.CONTROLS_IF_MSG_IF="如果";
Blockly.Msg.CONTROLS_IF_MSG_THEN="然后";
Blockly.Msg.CONTROLS_IF_MSG_ELSE="否则";
Blockly.Msg.CONTROLS_REPEAT_UNTIL="循环 直到";
Blockly.Msg.CONTROLS_JUMO_OUT_LOOP="跳出循环";
Blockly.Msg.CONTROLS_WAIT_MSG="延时";
Blockly.Msg.CONTROLS_WAIT_SECS_MSG="秒";
Blockly.Msg.CONTROLS_PROGRAM_STOP = '停止程序';
Blockly.Msg.OPERATOR_AND_MSG="和";
Blockly.Msg.OPERATOR_OR_MSG="或";
Blockly.Msg.OPERATOR_NOT_MSG="非";
Blockly.Msg.MATH_NUMBER_MSG="数字";
Blockly.Msg.TEXT_TEXT_MSG="文本";


Blockly.Msg["NEW_VARIABLE"] = "创建变量...";
Blockly.Msg["NEW_VARIABLE_TITLE"] = "新变量的名称：";
Blockly.Msg["VARIABLES_SET"] = "设置 %1 到 %2";
Blockly.Msg["VARIABLES_CHANGE"] = "修改 %1 到 %2";
Blockly.Msg["DELETE_VARIABLE"]="删除 '%1' 变量";

Blockly.Msg.INOUT_DIGITAL_WRITE_MSG="数字输出 管脚 %1 值 %2";
Blockly.Msg.INOUT_DIGITAL_READ_MSG="数字输入 管脚 %1";
Blockly.Msg.INOUT_ANALOG_WRITE_MSG="模拟输出 管脚 %1 值 %2";
Blockly.Msg.INOUT_ANALOG_READ_MSG="模拟输入 管脚 %1";
Blockly.Msg.INOUT_HIGH_MSG="高";
Blockly.Msg.INOUT_LOW_MSG="低";

Blockly.Msg.SERVO_MOVE_MSG="伺服电机 %1 %2 管脚 %3 角度(0~180)%4";
Blockly.Msg.SERVO_READ_DEGREES_MSG="伺服电机 角度 %1 %2 管脚 %3";
Blockly.Msg.COLOUR_SERVO_MOVE_MSG="伺服电机 %1 %2 角度(0~180)%3";

Blockly.Msg.CUSTOMS_DIGITAL_PIN_MSG="数字 管脚";
Blockly.Msg.CUSTOMS_ANALOG_PIN_MSG="模拟 管脚";
Blockly.Msg.CUSTOMS_SHOW_HIGHLOW="数字信号";
Blockly.Msg.CUSTOMS_DIGITAL_WRITE="数字输出 管脚 %1 值 %2";
Blockly.Msg.CUSTOMS_DIGITAL_READ="数字输入 管脚 %1";
Blockly.Msg.CUSTOMS_ANALOG_WRITE="模拟输出 管脚 %1 值 %2";
Blockly.Msg.CUSTOMS_ANALOG_READ="模拟输入 管脚 %1";

Blockly.Msg.CUSTOMS_PULSE_MSG="脉冲 管脚";
Blockly.Msg.CUSTOMS_ROLLER_SWITCH_MSG="滚轮开关 管脚";
Blockly.Msg.CUSTOMS_KEY_SWITCH_MSG="按键开关 管脚";
Blockly.Msg.CUSTOMS_ACTION_TRIGGERING_MSG="动作触发 管脚";
Blockly.Msg.CUSTOMS_PHOTOSENSITIVE_TRIGGERIONG_MSG="光敏触发 管脚";
Blockly.Msg.CUSTOMS_MAGNETIC_SWITCH_MSG="磁力开关 管脚";
Blockly.Msg.CUSTOMS_TOUCH_SWITCH_MSG="触摸开关 管脚";
Blockly.Msg.CUSTOMS_THRESHOLD_TRIGGER_MSG="阀值触发 管脚";
Blockly.Msg.CUSTOMS_POTENTIOMETER_MSG="电位器 管脚";
Blockly.Msg.CUSTOMS_PRESSURE_SENSING_MSG="压力传感器 管脚";
Blockly.Msg.CUSTOMS_PHOTOSENSITIVE_SENSOR_MSG="光敏传感器 管脚";
Blockly.Msg.CUSTOMS_SOUND_SENSOR_MSG="声音传感器 管脚";
Blockly.Msg.CUSTOMS_GRAYSCALE_DETECTION_MODULE_MSG="灰度探测模组 管脚";
Blockly.Msg.CUSTOMS_REMOTE_SENSING_MODULE_MSG="遥感模组 管脚";
Blockly.Msg.CUSTOMS_ULTRASONIC_RANGE_FINDER_MSG="超声波距离探测器 管脚";
Blockly.Msg.CUSTOMS_SLIDING_RHEOSTAT_MSG="滑动变阻器 管脚";
Blockly.Msg.CUSTOMS_INFRARED_DETECTOR_MSG="红外线探测器 管脚";
Blockly.Msg.CUSTOMS_SET_MOTOR_MSG="单电机";
Blockly.Msg.CUSTOMS_DIRECTION_MSG="方向为";
Blockly.Msg.CUSTOMS_SPEED_MSG="转速";
Blockly.Msg.CUSTOMS_FORWARD_MSG="前进";
Blockly.Msg.CUSTOMS_REVERSAL_MSG="后退";
Blockly.Msg.CUSTOMS_DOUBLE_MOTOR_MSG="电机组";
Blockly.Msg.CUSTOMS_LEFT_MSG="左转";
Blockly.Msg.CUSTOMS_RIGHT_MSG="右转";
Blockly.Msg.CUSTOMS_OLED_SINGLE_MSG="显示屏 %1 显示 %2 行坐标 %3 纵坐标 %4";
Blockly.Msg.CUSTOMS_OLED_DISPLAY_MSG="显示屏 %1 第一行 %2 第二行 %3 第三行 %4 第四行 %5";
Blockly.Msg.CUSTOMS_PLAY_SOUND="播放声音 %1 管脚 %2 频率 %3";
Blockly.Msg.CUSTOMS_PLAY_SOUND_DURATION="播放声音 %1 管脚 %2 频率 %3 持续时间 %4 秒";
Blockly.Msg.CUSTOMS_STOP_SOUND="停止播放 %1 管脚 %2";


Blockly.Msg.MOTION_MOVESTEPS_MSG="移动 %1 步";
Blockly.Msg.MOTION_TURNRIGHT_MSG="旋转 %1 %2 度";
Blockly.Msg.MOTION_POINT_DIRECTION_MSG="指向方向 %1";
Blockly.Msg.MOTION_GOTOXY_MSG="移动到 x: %1 y: %2";
Blockly.Msg.MOTION_SETX_MSG="设置 x 为 %1";
Blockly.Msg.MOTION_SETY_MSG="设置 y 为 %1";
Blockly.Msg.MOTION_XPOSINTION_MSG="x 坐标";
Blockly.Msg.MOTION_YPOSINTION_MSG="y 坐标";
Blockly.Msg.MOTION_DIRECTION_MSG="角度";

Blockly.Msg.CUSTOMS_TEMPERATURE_READ="读取温度值 管脚 %1";
Blockly.Msg.CUSTOMS_HUMIDITY_READ="读取湿度值 管脚 %1";

Blockly.Msg.HELP = '帮助';
Blockly.Msg.UNDO = '撤销';
Blockly.Msg.REDO = '重做';
Blockly.Msg.RENAME_VARIABLE_TITLE = '重新命名变量 "%1" 到:';
Blockly.Msg.RENAME_VARIABLE = '重新命名变量';
Blockly.Msg.DELETE_BLOCK = '删除积木';
Blockly.Msg.DELETE_X_BLOCKS = '删除 %1 积木';
Blockly.Msg.CLEAN_UP = '清理积木';
Blockly.Msg.DUPLICATE_BLOCK = '复制积木';



Blockly.Msg.OPERATOR_MAP = '映射';
Blockly.Msg.OPERATOR_TO = '到';
Blockly.Msg.OPERATOR_RANGE = '范围';
Blockly.Msg.OPERATOR_RANDOM = '随机数 从 %1 到 %2';

